<{extends file="../Share/listsub.tpl"}>
<{block name="content"}>
    <{$zlxx = ZLXX::create($params['ZLXX_BH'])}>
    <div class="list-view" id="ZLZL_List" data-url="<{'ZLZL_Query'|U}>" data-type="post">
        <div class="list-view-operation-top clearfix">
            <div class="list-view-add">
                <span class="button" data-role="view" data-url="<{'ZLZL_Insert'|U}>" data-type="post" data-message="">添加</span>
                <{*<span class="button" data-role="refresh">刷新</span>*}>
                <span class="button" data-role="back" data-parent="1">返回</span>
            </div>
            <div class="list-view-search" data-role="head">
                <span class="remark">
                    专栏：<{$zlxx->ZLXX_MC}>
                </span>
                <input type="hidden" name="ZLXX_BH" value="<{$params['ZLXX_BH'] }>"/>
                <label>模糊查询</label>
                <input type="text" class="search-input" title="按专栏资料标题、关键字进行模糊查询" id="ZLZL_MHCX" name="MHCX"/>
                <span class="space"></span>
                <{*<{$zlxx= ZLXX::query()}>*}>
                <{*<{'ZLXX_BH'|html_dropdownlist:$zlxx.DataList:null:'ZLXX_BH':'ZLXX_MC':'请选择专栏信息...'}>*}>
                <{*<span class="space"></span>*}>
                <select name="ZLZL_ZT">
                    <option selected="selected" value="">请选择状态...</option>
                    <option value="显示">显示</option>
                    <option value="隐藏">隐藏</option>
                </select>
                <span class="space"></span>
                <label>日期</label>
                <input class="search-date" name="ZLZL_RQBegin" type="text" />
                <span>--</span>
                <input class="search-date" name="ZLZL_RQEnd" type="text" />
				<span class="button" data-role="refresh">搜索</span>
            </div>
        </div>
        <div data-role="target">
            <{include file="ZLZL_Query.tpl"}>
        </div>
    </div>
<{/block}>
<{block name="scripts"}>
    <script>
        $(function(){
            //在模糊查询输入框中按回车键，自动刷新
            $("#ZLZL_MHCX").keypress(function (event) {
                if (event.keyCode == 13) {
                    $(this).siblings("span[data-role=refresh]").trigger("click");
                }
            });
            $("[name=ZLZL_RQBegin]").datepicker();
            $("[name=ZLZL_RQEnd]").datepicker();
            $("#ZLZL_List").listView();
        });
    </script>
<{/block}>
<{block name="nav"}>
    <a href="<{'ZLZL_Index'|U}>" target="_self" >专栏资料</a>
<{/block}>
<{block name="style"}><{/block}>

